﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lib
{
    public class FPNode
    {
        public string AttName { get; set; }
        public int AttIndex { get; set; }
        public string Name { get; set; }
        public int count = 0;
        public FPNode Parent = null;
        public FPNode()
        {
        }
        public List<FPNode> childs = new List<FPNode>();

        public FPNode getChilds(string name)
        {
            foreach (var child in childs)
            {
                if (child.Name == name)
                    return child;
            }
            return null;
        }




    }
}
